package com.kitty.game.pay.model;

import com.kitty.common.db.BaseEntityGame;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;


@Getter
@Setter
public class PayOrder extends BaseEntityGame<String> {

    private String tradeNo;

    private String oderId;

    private String account;

    private Date createTime;

    private int money;

    @Override
    public String getId() {
        return tradeNo;
    }

    public PayOrder() {}

    public PayOrder(String tradeNo, String oderId, String account, Date createTime, int money) {
        this.tradeNo = tradeNo;
        this.oderId = oderId;
        this.account = account;
        this.createTime = createTime;
        this.money = money;
    }
}
